package top.dotgo.kit.ex;

/**
 * @author : lin
 * @date : 2019/9/27 14:08
 * 异常消息 常量
 */
public class DotMsg {

    public static final Integer SUCCESS_CODE = 200;
    public static final String SUCCESS_MSG = "请求成功";
    public static final Integer PARAM_ERR = 400;
    public static final String PARAM_ERR_MSG = "参数错误";
    public static final Integer LOGIN_ERR = 401;
    public static final String LOGIN_ERR_MSG = "登录失效,请重新登录";
    public static final Integer PERM_ERR = 403;
    public static final String PERM_ERR_MSG = "暂无权限访问";
    public static final Integer NOT_FOUND_ERR = 404;
    public static final String NOT_FOUND_MSG = "访问资源未找到";
    public static final int ERROR_CODE = 500;
    public static final String ERROR_MSG = "请求失败";
    private DotMsg() {
    }
}
